﻿namespace BW.Models
{
    /// <summary>
    /// 公共的审计字段[他不是表]
    /// </summary>
    public class ModelAudit
    {
        /// <summary>
        /// 是否删除
        /// true表示已删除
        /// false表示正常【默认】
        /// </summary>
        public bool IsDelete { get; set; } = false;
        /// <summary>
        /// 创建人编号
        /// </summary>
        public int CreateUserId { get; set; }
        public DateTime CreateDate { get; set; } = DateTime.Now;
        public int UpdateUserId { get; set; }
        public DateTime? UpdateDate { get; set; }
        public int DeleteUserId { get; set; } //冗余
        public DateTime? DeleteDate { get; set; }//冗余
    }
}
